package com.learn.sb.activemq.service;

import com.learn.sb.activemq.pojo.User;

// ActiveMQ 服务接口
public interface ActiveMqService {
    // 收发String
    public void sendMsg(String message);
    public void receiveMsg(String message);
    // 收发 User 对象
    public void sendUser(User user);
    public void receiveUser(User user);
}
